package com.ygqh.baby.service;

import java.util.List;

import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.ao.ResultSet;
import com.ygqh.baby.po.YgReturnOrderDetailOffLine;

public interface YgReturnOrderDetailOffLineService {

	List<YgReturnOrderDetailOffLine> find();

	int findCount();

	YgReturnOrderDetailOffLine findById(Long id);

	int deleteSoft(Long[] ids);

	int deleteSoft(Long id);

	int save(YgReturnOrderDetailOffLine ygReturnOrderDetailOffLine);

	int update(YgReturnOrderDetailOffLine ygReturnOrderDetailOffLine);

	int saveOrUpdate(YgReturnOrderDetailOffLine ygReturnOrderDetailOffLine);

	ResultSet<YgReturnOrderDetailOffLine> search(QueryInfo queryInfo, String q);

	List<YgReturnOrderDetailOffLine> findByReturnCode(String returnCode);

}
